<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>11-简单加法计算器</title>
	</head>
	<body>
		<script type="text/javascript">
			var x = prompt('请输入第一个值!');
			var y = prompt('请输入第二个值!');
			var z = parseFloat(x) + parseFloat(y);
			alert(z);
		</script>
	</body>
</html>
